package com.supermarket.entity;

import com.alibaba.excel.annotation.ExcelProperty;


public class Orders {

    @ExcelProperty("订单编号")//给属性起别名
    private Integer orderID;
    @ExcelProperty("商品编号")
    private Integer goodsID;
    @ExcelProperty("商品数量")
    private Integer goodsNum;
    @ExcelProperty("仓库编号")
    private Integer warehouseID;

    public Integer getOrderID() {
        return orderID;
    }

    public void setOrderID(Integer orderID) {
        this.orderID = orderID;
    }

    public Integer getGoodsID() {
        return goodsID;
    }

    public void setGoodsID(Integer goodsID) {
        this.goodsID = goodsID;
    }

    public Integer getGoodsNum() {
        return goodsNum;
    }

    public void setGoodsNum(Integer goodsNum) {
        this.goodsNum = goodsNum;
    }

    public Integer getWarehouseID() {
        return warehouseID;
    }

    public void setWarehouseID(Integer warehouseID) {
        this.warehouseID = warehouseID;
    }

    @Override
    public String toString() {
        return "Order{" +
                "orderID=" + orderID +
                ", goodsID=" + goodsID +
                ", goodsNum=" + goodsNum +
                ", warehouseID=" + warehouseID +
                '}';
    }
}
